package wwg.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import wwg.order.dto.OrderDTO;
import wwg.order.dto.base.ObjectResponse;
import wwg.order.entity.TOrder;

/**
 * <p>
 *  创建订单
 * </p>
 *
 * @author wwg
 * @since 2019-01-13
 */
public interface ITOrderService extends IService<TOrder> {

    /**
     * 创建订单
     */
    ObjectResponse<OrderDTO> createOrder(OrderDTO orderDTO);

    ObjectResponse<OrderDTO> createBatch(OrderDTO orderDTO);
}
